package com.lingchen.boot.gof.factory;

/**
 * Created by lc on 2020/6/24
 */
public class ProductFactoryTest {

    public static void main(String[] args) {

        Product mobile = ProductFactory.getBean("car");
        mobile.show();

    }
}
